package org.jeecg.modules.basic.behavior.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: 行为管理
 * @Author: jeecg-boot
 * @Date:   2021-03-09
 * @Version: V1.0
 */
@Data
@TableName("lwgy_behavior")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="lwgy_behavior对象", description="行为管理")
public class LwgyBehavior implements Serializable {
    private static final long serialVersionUID = 1L;

	/**编号*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "编号")
    private java.lang.String id;
	/**学号*/
	@Excel(name = "学号", width = 15)
    @ApiModelProperty(value = "学号")
    private java.lang.String studentNumber;
    /**用户id*/
    private String studentId;
	/**姓名*/
	@Excel(name = "姓名", width = 15)
    @ApiModelProperty(value = "姓名")
    private java.lang.String studentName;
    /**校区*/
    @Excel(name = "校区", width = 15,dictTable = "lwgy_base_apartment", dicText = "name", dicCode = "id")
    @Dict(dictTable = "lwgy_base_apartment", dicText = "name", dicCode = "id")
    @ApiModelProperty(value = "校区")
    private String campusId;
    /**楼宇*/
    @Excel(name = "楼宇", width = 15,dictTable = "lwgy_base_apartment", dicText = "name", dicCode = "id")
    @Dict(dictTable = "lwgy_base_apartment", dicText = "name", dicCode = "id")
    @ApiModelProperty(value = "楼宇")
    private String buildingId;
    /**单元*/
    @Excel(name = "单元", width = 15,dictTable = "lwgy_base_apartment", dicText = "name", dicCode = "id")
    @Dict(dictTable = "lwgy_base_apartment", dicText = "name", dicCode = "id")
    @ApiModelProperty(value = "单元")
    private String unitId;
    /**楼层*/
    @Excel(name = "楼层", width = 15,dictTable = "lwgy_base_apartment", dicText = "name", dicCode = "id")
    @Dict(dictTable = "lwgy_base_apartment", dicText = "name", dicCode = "id")
    @ApiModelProperty(value = "楼层")
    private String layerId;
    /**房间*/
    @Excel(name = "房间", width = 15,dictTable = "lwgy_base_apartment", dicText = "name", dicCode = "id")
    @Dict(dictTable = "lwgy_base_apartment", dicText = "name", dicCode = "id")
    @ApiModelProperty(value = "房间")
    private String roomId;
	/**行为分类*/
	@Excel(name = "行为分类", width = 15, dicCode = "id",dicText = "typeName",dictTable = "lwgy_behavior_type")
    @Dict(dicCode = "id",dicText = "typeName",dictTable = "lwgy_behavior_type")
    @ApiModelProperty(value = "行为分类")
    private java.lang.String behavioral;
	/**行为说明*/
	@Excel(name = "行为说明", width = 15)
    @ApiModelProperty(value = "行为说明")
    private java.lang.String remark;
    /**校区*/
    @Excel(name = "校区", width = 15,dictTable = "lwgy_base_school",dicCode = "id",dicText = "name")
    @Dict(dictTable = "lwgy_base_school",dicCode = "id",dicText = "name")
    @ApiModelProperty(value = "校区")
    private String studentCampus;
    /**院系*/
    @Excel(name = "院系", width = 15,dictTable = "lwgy_base_school",dicCode = "id",dicText = "name")
    @Dict(dictTable = "lwgy_base_school",dicCode = "id",dicText = "name")
    @ApiModelProperty(value = "院系")
    private String studentCollege;
    /**专业*/
    @Excel(name = "专业", width = 15,dictTable = "lwgy_base_school",dicCode = "id",dicText = "name")
    @Dict(dictTable = "lwgy_base_school",dicCode = "id",dicText = "name")
    @ApiModelProperty(value = "专业")
    private String studentMajor;
    /**班级*/
    @Excel(name = "班级", width = 15,dictTable = "lwgy_base_school",dicCode = "id",dicText = "name")
    @Dict(dictTable = "lwgy_base_school",dicCode = "id",dicText = "name")
    @ApiModelProperty(value = "班级")
    private String studentClass;
    /**年级*/
    @Excel(name = "年级", width = 15,dictTable = "lwgy_base_school",dicCode = "id",dicText = "name")
    @Dict(dictTable = "lwgy_base_school",dicCode = "id",dicText = "name")
    private String studentYear;
	/**处理状态*/
	@Excel(name = "处理状态", width = 15, dicCode = "processing_state")
    @Dict(dicCode = "processing_state")
    @ApiModelProperty(value = "处理状态")
    private java.lang.String processingState;
	/**处理类型*/
	@Excel(name = "处理类型", width = 15,dicCode = "processing_type")
    @Dict(dicCode = "processing_type")
    @ApiModelProperty(value = "处理类型")
    private java.lang.String processingType;
	/**确认状态*/
	@Excel(name = "确认状态", width = 15,dicCode = "success_state")
    @Dict(dicCode = "success_state")
    @ApiModelProperty(value = "确认状态")
    private java.lang.String successState;
    /**创建日期*/
    @Excel(name = "发生日期", width = 15,format = "yyyy-MM-dd")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "创建日期")
    private java.util.Date createTime;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private java.lang.String createBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "更新日期")
    private java.util.Date updateTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private java.lang.String updateBy;

    /** 推送人用户名 */
    @TableField(exist = false)
    @Excel(name = "推送人", width = 15)
    @ApiModelProperty(value = "推送人")
    private String fromUser;

    /**打分批次*/
    @Excel(name = "打分批次", width = 15,dictTable = "lwgy_setting_sanitation", dicText = "batch_name", dicCode = "id")
    @Dict(dictTable = "lwgy_setting_sanitation", dicText = "batch_name", dicCode = "id")
    @ApiModelProperty(value = "打分批次")
    private String scaleBatches;

}
